<!DOCTYPE HTML>
<html>
    <head>
        <title>Giày nam, giày nam đẹp, shop giày nam giá rẻ tại Hà Nội</title>
        <meta http-equiv="content-Type" content="text/html; charset=utf-8"/>
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
        <link type="text/css" href="css/style.css" rel="styleSheet" media="screen"/>
        <link type="image/png" href="images/icon.png" rel="icon"/>
        <link type="text/css" href="css/contact.css" rel="stylesheet"/>
        <link type="text/css" href="css/login.css" rel="stylesheet"/>
        <link type="text/css" href="css/register.css" rel="stylesheet"/>
        <link type="text/css" href="css/lost_password.css" rel="stylesheet"/>
        <link type="text/css" href="css/detail.css" rel="stylesheet"/>
        <script type="text/javascript" src="js/jquery-1.11.0.js"></script>
        <script type="text/javascript" src="js/custom.js"></script>     
        <script src="js/contact/jquery.js" type="text/javascript"></script>
        <script src="js/contact/jquery.validate.js" type="text/javascript"></script>
        <script src="js/newjavascript.js" type="text/javascript"></script>
    <head>
    <body>
        <div id="page-wrap">
            <div id="banner">
                <div class="banner-container">
                    <div class="container-left">
                        <div class="left-info">chào mừng bạn đến với giaynamxxx
                        </div>
                    </div>
                    <div class="container-right">
                        <div class="search">                          
                            <form action="search.php" method="get">
                                <input class="b" type="submit" value="          "/>
                                <input class="a" type="text" name="txtSearch"/>
                                
                            </form>
                        </div>
                        <div class="taikhoan">
                            <a href="login.php">Tài khoản</a>
                        </div>                       
                    </div>
                </div><!--end banner-container-->
            </div><!--end banner-->
            <div id="header">
                <div class="header-container">
                    <div class="logo">
                        <a href="#" alt=""><img src="images/logo-giaynamdep.png"/></a>
                    </div>
                    <div class="big-menu">
                        <div class="left-menu">
                            <div class="top-menu">
                                <ul class="page-menu">
                                    <li><a href="home.php">Trang chủ</a></li>
                                    <li class="current-page-item"><a href="index.php?id=1">Cửa hàng <span class="cuahang"></span></a>
                                        <?php
                                            function __autoload($cls) {
                                            require $cls . '.php';
                                            }
                                            
                                            $cat = new category();
                                            $c = $cat->getCategories();
                                            
                                        ?>
                                        <ul  class="submenu">
<!--                                            <li><a href="index.php">Giày Nam 2013</a></li>-->
                                            <?php
                                            foreach ($c as $key=>$value){
                                            ?>
                                            <li class="submenu-item"><a href="index.php?id=<?php echo $value['cat_id'];?>"><?php echo $value['name'];?></a>
                                                <?php
                                                    $i = $value['cat_id'];
                                                    $s = $cat->getSubCategories($i);
                                                ?>
                                                <ul>
                                                    <?php
                                                    foreach ($s as $key1 => $value1) {
                                                    ?>
                                                    <li><a href="index.php?id=<?php echo $value1['cat_id'];?>"><?php echo $value1['name'];?></a>
                                                    <?php
                                                    }
                                                    ?>
                                                </ul>
                                            </li>
                                            <?php
                                            }
                                            ?>
                                        </ul>
                                    </li>
                                    <li><a href="#">Hàng mới về</a></li>
                                    <li><a href="#">Giá sốc mỗi ngày</a></li>
                                </ul>
                            </div>
                            <div class="clear-both"></div>
                            <div class="bot-menu">
                                <ul>
                                    <li><a href="#">Tin tức thời trang</a></li>
                                    <li><a href="#">Hỗ trợ</a></li>
                                    <li><a href="#">Hỏi đáp</a></li>
                                    <li style="border:none;"><a href="#">Về chúng tôi</a></li>
                                </ul>
                            </div>
                            <!--                            <div class="shopping-bag">
                                                            <div class="shopping-bag-title">
                                                                <a href="#">Giỏ hàng</a>
                                                            </div>
                                                            <div class="shopping-bag-content">
                                                                <span>0đ</span>
                                                                <span style="float:right;">/0 sản phẩm</span>
                                                            </div>
                                                        </div>-->
                        </div> <!--end leftmenu-->
                        <div class="shopping-bag">
                            <div class="shopping-bag-title">
                                <a href="cart.php">Giỏ hàng</a>
                            </div>
                            <div class="shopping-bag-content">
                                <span style="float:left;">0đ</span>
                                <span style="float:right;">/0 sản phẩm</span>
                            </div>
                        </div>
                    </div> <!--end big menu-->
                </div>
            </div><!--end header-->
            <div class="clear-both"></div>